package com.wos.mpbao.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.wos.mpbao.bean.Page;
import com.wos.mpbao.database.dao.KhhTestDAO;
import com.wos.mpbao.database.domain.KhhTest;
import com.wos.mpbao.service.KhhTestService;

@Service
public class KhhTestServiceImpl implements KhhTestService {
	@Autowired private KhhTestDAO khhTestDAO;
	

	//通过ID查询
	@Override
	public KhhTest selectById(String id) {
		return khhTestDAO.selectById(id);
	}


	//查询列表
	@Override
	public List<KhhTest> selectList(Page page) {
		return khhTestDAO.selectList(page);
	}


	//保存
	@Override
	public void save(KhhTest khhTest) {
		khhTestDAO.save(khhTest);
	}

	//删除
	@Override
	public void delete(KhhTest khhTest) {
		khhTestDAO.delete(khhTest);
	}

}
